package com.sss.hloster0308;

public class ColaEmployee {
     String name;//姓名
     int birthday;//生日月份
   
	public ColaEmployee() {
		super();
	}
	public ColaEmployee(String name, int birthday) {
		super();
		this.name = name;
		this.birthday = birthday;
		
	}
    public int getSalary(int month) {
    	if(month  == birthday) {
    		return 100;
    	}else {
    		return 0;
    	}
    }
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getBirthday() {
		return birthday;
	}
	public void setBirthday(int birthday) {
		this.birthday = birthday;
	}
    
}
